<?php
  require_once('db_connection.php');

  $query = "INSERT INTO `users` SET
  `name` = 'Zeev Suraski',
  `email` = 'test@gmail.com',
  `password` = '1q1q1q',
  `added_date`= NOW(),
  `status` = '1' ";


  mysql_query($query) or die(mysql_error());

  $id = mysql_insert_id();// return auto_incremented (primary key)

  echo "record inserted on Id : $id \n\n";
